import java.util.Scanner;
////java1 类型转换  牛客
public class Main1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double d = scanner.nextDouble();
        System.out.println(Main1.typeConversion(d));
    }
    public static int typeConversion(double d){
        return (int)d;
    }
}